package org.example.cloudprovidercontroller8002.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@TableName("student")
public class Student implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String sex;
    private String address;
    private String username;
    private String password;
    private int age;
    @TableField(exist = false) // 数据库不存在该字段
    private List<java.lang.Class> classList;
}
